<ion-view view-title="登录">
    <ion-nav-bar class="bar-positive">
        <ion-nav-back-button class="button-icon ion-arrow-left-c">
        </ion-nav-back-button>
    </ion-nav-bar>
    <ion-content>

        <div class="list">
            <label class="item item-input">
                <span class="input-label">Username</span>
                <input type="text" ng-model="user.username">
            </label>
            <label class="item item-input">
                <span class="input-label">Password</span>
                <input type="password" ng-model="user.password">
            </label>
        </div>

        <div class="padding">
            <button class="button button-block button-positive" ng-click="signIn(user)">
                Sign-In
            </button>

            <p class="text-center">
                <a href="#/forgot-password">Forgot password</a>
            </p>
        </div>

        <div>
            <label class="button-calm" ng-click="setting()">双击打开配置页面</label>
        </div>

        <div>
            <button ng-click="goChat(user)">聊天去</button>
        </div>



    </ion-content>
</ion-view>








